<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jstl/core"
	xmlns:sf="http://www.springframework.org/tags/faces"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:spring="http://www.springframework.org/tags">

	<body>
	<h:form id="deleteClient">
		<ui:fragment id="deleteClientFragment">

			<h:panelGrid cellspacing="10" columns="2">
				<f:facet name="header">
					<h:outputText value="Delete Client" />
				</f:facet>

				<h:outputText style="display:block; text-align:right;" value="UserName : " />
				<h:outputText value="#{flowScope.client.userName}" />
				
				<h:outputText style="display:block; text-align:right;" value="First name : " />
				<h:outputText value="#{flowScope.client.firstName}" />
				
				<h:outputText style="display:block; text-align:right;" value="Last name : " />
				<h:outputText value="#{flowScope.client.lastName}" />

				<f:facet name="footer">
					<h:panelGrid cellspacing="10" columns="1">
						<h:outputText style="font-weight:bold;" value="Do you really want to delete this client ?" />
				
						<h:panelGroup style="display:block; text-align:right">
							<h:commandButton type="submit" value="Yes" action="deleteClientSubmit" />
							<h:commandButton type="button" value="No" action="cancel" />
						</h:panelGroup>
					</h:panelGrid>
				</f:facet>
			</h:panelGrid>

		</ui:fragment>
	</h:form>
	</body>
</ui:composition>